package com.atguigu.beans;

import lombok.Data;

/**
 * @author: china
 * @create: 2024-04-02 20:07
 * @description:
 **/
@Data
public class WaterSensor {
    public String id; //水位传感器类型
    public Long ts ;  // 传感器记录时间戳
    public Integer vc ; //水位记录


    public WaterSensor() {
    }

    public WaterSensor(String id, Long ts, Integer vc) {
        this.id = id;
        this.ts = ts;
        this.vc = vc;
    }
    @Override
    public String toString() {
        return "WaterSensor{" +
                "id='" + id + '\'' +
                ", ts=" + ts +
                ", vc=" + vc +
                '}';
    }
}

